{layout name="/base"}
<div id="page-wrapper">
	<div class="row">
		<div class="col-lg-12">
			<h1>分公司管理 <small>分公司管理员添加</small></h1>
			<ol class="breadcrumb">
				<li><a href="index.php"><i class="fa fa-dashboard"></i> 管理首页</a></li>
				<li><a href="/filiale"><i class="fa fa-table"></i> 分公司管理列表</a></li>
				<li><i class="fa fa-table"></i> 分公司管理员添加</li>
			</ol>
			<div class="alert alert-success alert-dismissable">
				<button type="button" class="close" data-dismiss="alert" aria-hidden="true">&times;</button> 请设置分公司管理员信息
			</div>
		</div>
	</div>
	<!-- /.row -->
	<form class="form-horizontal" role="form" action="/filialemanagers" method="post">
		<input type="hidden" name="branch_id" value="{$id}" />
		<h4>增加管理员</h4>
		<div class="modal-body">
            <div class="form-group">
              <label class="control-label col-sm-3">管理员账号</label>
              <div class="col-sm-9">
              <input class="form-control" type="text" name="branch_num" value="" placeholder="请填写管理员账号">
              </div>
            </div>
            <div class="form-group">
              <label class="control-label col-sm-3">管理员姓名</label>
              <div class="col-sm-9">
              <input class="form-control" type="text" name="name" value="" placeholder="请填写管理员姓名">
              </div>
            </div>
            <div class="form-group">
              <label class="control-label col-sm-3">身份证号码</label>
              <div class="col-sm-9">
              <input class="form-control" type="text" name="id_card" value="" placeholder="请正确填写身份证号码">
              </div>
            </div>
            <div class="form-group">
              <label class="control-label col-sm-3">邮箱地址</label>
              <div class="col-sm-9">
                <input class="form-control" type="text" name="email" value="" placeholder="请填写邮箱地址" >
              </div>
            </div>
            <div class="form-group">
              <label class="control-label col-sm-3">联系电话</label>
              <div class="col-sm-9">
              <input class="form-control" type="text" name="phone" value="" placeholder="请填写其他联系方式">
              </div>
            </div>
            <div class="form-group">
              <label class="control-label col-sm-3">通讯地址</label>
              <div class="col-sm-9">
              <input class="form-control" type="text" name="address" value="" placeholder="请填写地址">
              </div>
            </div>
            <div class="form-group">
              <label class="control-label col-sm-3">备注</label>
              <div class="col-sm-9">
              <input class="form-control" type="text" name="note" value="" placeholder="请填写管理员备注">
              </div>
            </div>
            <div class="modal-footer">
			<a href="/filiale" class="btn btn-default">返回</a>
			<button type="submit" id='add' class="btn btn-primary">提交</button>
		</div>
          </div>
	</form>
</div>
<!-- /#page-wrapper -->